/**
* @author王华贵
* @Description :该页面是用来定义详情页的服务器返回数据的类型的
*/
export interface ALNUM_INFO {
    id: number
    cover: string
    title: string
    customTitle: string
    shortIntro: string
    price: string
    discountedPrice: string
    isSample: false,
    albumWrap: {
        isWrap: false
    },
    iting: string
    paidVoiceAlterTemplateUrl: string
    createdTime: number,
    updatedTime: number
    recommendReason: string
    albumType: number
    salePoint: string
    canNotCopyIntro: false,
    albumTag: number
    sellingPoint: {
        sp_shortIntro: string,
        sp_contentValue: string
        sp_feeling: string
    },
    anchorId: number
    albumFinishTag: number
    albumPreferTag: number
    communityId: number
    albumPayType: number
    albumVipPayType: number
    isVipFirst: false,
    categoryId: number
    isTimeLimitedAlbum: false
}
export interface STATE_COUNT_INFO {
    id: number
    playCount: number
    trackCount: number
    subscribeCount: number
}
export interface PAGE_URL_INGO {
    id: number
    categoryId: number
    categoryName: string
    categoryCode: string
    pinyin: string
    url: string
}
export interface ALNUM_DETAIL_INFO {
    id: number
    albumInfo: ALNUM_INFO
    statCountInfo: STATE_COUNT_INFO
    pageUriInfo: PAGE_URL_INGO
}
export interface ALBUM_RICH_INFO {
    id: number
    richIntro: string
    buyNotes: string
    otherTitle: string
    otherContent: string
    personalDescription: string
    outline: string
    bigshotRecommend: string
    produceTeam: string
}
export interface ALBUM_METEvALUE_INFO {
    metaDataId: number
    metaValueId: number
    name: string
    displayName: string
    code: string
    isSubCategory: boolean,
    url: string
}
export type ALBUM_METEvALUE_INFOS = Array<ALBUM_METEvALUE_INFO>
// 详情页头部数据
export interface HEADER_DATA {
    id: number
    albumDetailInfo: ALNUM_DETAIL_INFO
    albumRichInfo: ALBUM_RICH_INFO
    albumPayTypeUserMask: number
    albumPayType: number
    albumVipPayType: number
    albumType: number
    userPermission: boolean,
    typeSpecData: {},
    albumMetaValueInfos: ALBUM_METEvALUE_INFOS
    isSubscribe: boolean,
    anchorId: number
    albumXimiVipPayType: number
    albumSubVipPayType: number
    isVipPrivileges: boolean,
    isOriginal: boolean
}

export type TRACK_DETAIL_INFOS = Array<{
    id: number
    trackType: number
    trackInfo: {
        id: number
        title: string
        intro: string
        albumId: number
        albumTitle: string
        anchorId: number
        trackType: number
        relateId: number
        isPaid: true,
        isFree: true,
        isTrailer: number
        cover: string
        duration: number
        sampleDuration: number
        isHoldCopyright: true,
        price: string
        discountedPrice: string
        createdAt: string
        iting: string
        playPath: string
        createdTime: number
        updatedTime: number
        isVipFirst: false,
        isOffline: false,
        paidType: number
        auditStatus: number
        isXimiFirst: false,
        categoryId: number
        isVideo: false,
        opType: number
        visibleCrowdType: number
        createDateFormat: string
        tag: number
    }
}>
// 获取节目列表数据
export interface PROGRAM_INFO {
    id: number
    totalCount: number
    page: number
    pageSize: number
    trackDetailInfos: TRACK_DETAIL_INFOS
}

export interface USERINFO {
    id: number
    nickname: string
    isVip: false
    logo: string
    verifyStatus: number
    verifyType: number
    anchorGrade: number
    userGrade: number
    personDescribe: string
    personalSignature: string
    ptitle: string
    mobileBackgroundPic: string
    isLoginBan: false
}
// 获取主播信息
export interface ANCHOR {
    id: number
    userInfo: USERINFO
    statCountInfo: {
        id: number
        followerCount: number
    },
    url: string
}

// 获取主播信息下方紧挨着的三个列表数据：专辑简介详细信息
export interface ALBUM_BRIEF_DETAIL_INFO {
    id: number
    albumInfo: {
        id: number
        cover: string
        title: string
        customTitle: string
        shortIntro: string
        salePoint: string
        albumTag: number
        albumFinishTag: number
        albumPreferTag: number
        albumType: number
        albumPayType: number
        albumVipPayType: number
        isVipFirst: false,
        status: number
        categoryId: number
    }
    [props: string]: any
}
export type ALBUM_BRIEF_DETAIL_INFOS = Array<ALBUM_BRIEF_DETAIL_INFO>
export interface ALBUM_BRIEF_DETAIL_BIG_INFO {
    albumBriefDetailInfos: ALBUM_BRIEF_DETAIL_INFOS
}

// 定义服务器返回用户评论列表数据
export interface COMMENT_ITEM {
    id: number
    uid: number
    nickname: string
    smallHeader: string
    content: string
    albumScore: number
    likes: number
    createdAt: number
    updatedAt: number
}
export type COMMENT_LIST = Array<COMMENT_ITEM>
export interface RES_COMMENT {
    comments: COMMENT_LIST
}

// 定义服务器返回的相似专辑数据
export interface ITEM {
    playCount: number
    coverPath: string
    title: string
    uid: number
    url: string
    categoryPinyin: string,
    categoryId: number
    intro: string
    albumId: number
    isPaid: false,
    isFinished: number
    createdAt: number
    updatedAt: number
    isVipFree: false,
    nickname: string
    anchorPic: string
    verifyType: number
    vipFreeType: number
    tracksCount: number
    priceTypes: [],
    anchorUrl: string
    richTitle: string
    vipType: number
    albumSubscript: number
}
export type SIMILARITY_ALBUM_LISE = Array<ITEM>
export interface RES_SIMILARITY_ALBUM {
    illegal: boolean
    kw: string
    album: {
        docs: SIMILARITY_ALBUM_LISE
        pageSize: number
        currentPage: number
        sc: {}
        total: number
        totalPage: number
        index: 999
    }
    seo: {
        trackTitle: string
        intro: string
    }
}
